import request from '@/utils/request'

// 查询玩家流水统计列表
export function listAgentFlowingStatic(query) {
  return request({
    url: '/system/agentFlowingStatic/list',
    method: 'get',
    params: query
  })
}

// 查询玩家流水统计详细
export function getAgentFlowingStatic(id) {
  return request({
    url: '/system/agentFlowingStatic/' + id,
    method: 'get'
  })
}

// 新增玩家流水统计
export function addAgentFlowingStatic(data) {
  return request({
    url: '/system/agentFlowingStatic',
    method: 'post',
    data: data
  })
}

// 修改玩家流水统计
export function updateAgentFlowingStatic(data) {
  return request({
    url: '/system/agentFlowingStatic',
    method: 'put',
    data: data
  })
}

// 删除玩家流水统计
export function delAgentFlowingStatic(id) {
  return request({
    url: '/system/agentFlowingStatic/' + id,
    method: 'delete'
  })
}

// 导出玩家流水统计
export function exportAgentFlowingStatic(query) {
  return request({
    url: '/system/agentFlowingStatic/export',
    method: 'get',
    params: query
  })
}